1 package jrre.instructionset.methodinvocation;
2
3 import jrre.Stack;
4
5 public class Return extends jrre.instructionset.Instruction {
6
7 public Return(){
8 name = "return";
9 description = "foo foo moo poo";
10 length = 0;
11 }
12
13 /***
14 * Executes the <strong><code>return</code></strong> instruction.
15 *
16 */
17 public void execute(){
18
19 Stack.pop();
20
21 }
22
23 public String toString(){
24
25 return "return void";
26 }
27
28 }
This page was automatically generated by Maven